package com.linkstec.bookshop.pojo;

/**
 * 
 * @ClassName: Account 数据库表account的实体类
 * @Description:TODO
 * @author: JGQiang
 * @date: 2018年11月22日 上午11:30:17
 */
public class Account {

	private int accountId;// 账户id

	private int userId;// 外键，user的id

	private double balance;// 余额

	public int getAccountId() {
		return accountId;
	}

	public void setAccountId(int accountId) {
		this.accountId = accountId;
	}

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public double getBalance() {
		return balance;
	}

	public void setBalance(double balance) {
		this.balance = balance;
	}

	@Override
	public String toString() {
		return "Account [accountId=" + accountId + ", userId=" + userId + ", balance=" + balance + "]";
	}

}
